package com.longway.core.toolbox.wdp.msg.bean;

import com.longway.core.toolbox.wdp.msg.MsgModel;


/**
 * 文本消息
 */
public class WdpTextMsg extends WdpMsg {
    private static final long serialVersionUID = -5656735737008641147L;

    // 文本消息内容
    private String content;
    // 消息id，64位整型
    private Long msgId;
    
    public WdpTextMsg(MsgModel msgModel) {
        super(msgModel);
        this.msgId = msgModel.getMsgId();
        this.content = msgModel.getContent();
    }

    public String getContent() {
        return content;
    }

    public Long getMsgId() {
        return msgId;
    }
}
